
my_list = ['黑马程序员','传智播客','黑马程序员','传智播客','itheima','itcast','best']
my_set = set()
for element in my_list:
    my_set.add(element)
print(my_set)
